package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

public interface NursingLevelService {
    /**
     * 查询所有护理等级
     * @return
     */
    List<NursingLevelVo> showAllNursingLevel();

    /**
     * 分页条件查询护理等级
     * @param pageName
     * @param pageSize
     * @param name
     * @param status
     * @return
     */
    PageResponse<NursingLevelVo> queryPage(Integer pageName, Integer pageSize, String name, Integer status);

    /**
     * 根据id查询护理等级
     * @param id
     * @return
     */
    NursingLevelVo showNursingLevelById(Integer id);

    /**
     * 新增护理等级
     * @param nursingLevelDto
     */
    void addNursingLevel(NursingLevelDto nursingLevelDto);

    /**
     * 修改护理等级
     * @param nursingLevelDto
     */
    void updateNursingLevel(NursingLevelDto nursingLevelDto);

    /**
     * 根据id删除护理等级
     * @param id
     */
    void deleteNursingLevelById(Integer id);

    /**
     * 启用禁用护理等级
     * @param id
     * @param status
     */
    void updateNursingLevelStatusById(Integer id, Integer status);
}
